.class public Les/j40;
.super Ljava/lang/Object;
.source "SearchFileSystem.java"

# interfaces
.implements Lcom/estrongs/fs/j;


# static fields
.field private static a:Les/j40;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 1
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    return-void
.end method

.method private constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a()Les/j40;
    .locals 1

    .line 1
    sget-object v0, Les/j40;->a:Les/j40;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/j40;

    invoke-direct {v0}, Les/j40;-><init>()V

    sput-object v0, Les/j40;->a:Les/j40;

    .line 3
    :cond_0
    sget-object v0, Les/j40;->a:Les/j40;

    return-object v0
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Les/f70$a;Ljava/util/List;Z)Ljava/util/List;
    .locals 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            "Les/f70$a;",
            "Ljava/util/List<",
            "Les/eu$d;",
            ">;Z)",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    .line 32
    new-instance v9, Ljava/util/ArrayList;

    invoke-direct {v9}, Ljava/util/ArrayList;-><init>()V

    .line 33
    invoke-static {p3}, Les/eu;->a(Ljava/lang/String;)Ljava/util/Map;

    move-result-object v0

    .line 34
    invoke-interface {v0}, Ljava/util/Map;->size()I

    move-result v1

    const/4 v2, 0x1

    if-gtz v1, :cond_1

    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/pop/l;->k1()Z

    move-result v1

    if-nez v1, :cond_0

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    goto :goto_1

    .line 35
    :cond_1
    :goto_0
    new-instance v1, Les/eu$a;

    invoke-direct {v1, v0, v2}, Les/eu$a;-><init>(Ljava/util/Map;Z)V

    :goto_1
    move-object v4, v1

    const/4 v1, 0x0

    :try_start_0
    const-string v3, "recursion"

    .line 36
    invoke-interface {v0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Ljava/lang/String;)Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    :catch_0
    const/4 v0, 0x0

    :goto_2
    if-eqz v0, :cond_2

    if-nez p6, :cond_2

    const/4 v5, 0x1

    goto :goto_3

    :cond_2
    const/4 v5, 0x0

    .line 37
    :goto_3
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->k1()Z

    move-result v0

    xor-int/lit8 v6, v0, 0x1

    move-object v0, p0

    move-object v1, p1

    move-object v2, v9

    move-object v3, p2

    move-object v7, p4

    move-object v8, p5

    invoke-direct/range {v0 .. v8}, Les/j40;->a(Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Lcom/estrongs/fs/h;ZZLes/f70$a;Ljava/util/List;)V

    return-object v9
.end method

.method private a(Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Lcom/estrongs/fs/h;ZZLes/f70$a;Ljava/util/List;)V
    .locals 17
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;",
            "Ljava/lang/String;",
            "Lcom/estrongs/fs/h;",
            "ZZ",
            "Les/f70$a;",
            "Ljava/util/List<",
            "Les/eu$d;",
            ">;)V"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    move-object/from16 v0, p1

    move-object/from16 v1, p3

    move-object/from16 v2, p4

    .line 38
    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v3

    const/4 v4, 0x4

    invoke-virtual {v3, v4}, Ljava/lang/Thread;->setPriority(I)V

    .line 39
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    .line 40
    invoke-static {}, Lcom/estrongs/android/util/h0;->f()Ljava/util/List;

    move-result-object v4

    invoke-interface {v3, v4}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 41
    move-object v4, v2

    check-cast v4, Les/eu$a;

    invoke-virtual {v4}, Les/eu$a;->a()Les/eu$e;

    move-result-object v4

    .line 42
    invoke-static {}, Les/s80;->A()Les/s80;

    move-result-object v5

    .line 43
    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    const-string v7, "externalstorage://"

    .line 44
    invoke-virtual {v7, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v8

    const-string v9, "/"

    const-string v10, "needCheckStorageLink"

    const/4 v11, 0x1

    .line 45
    invoke-static {v11}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v12

    const/4 v13, 0x0

    if-eqz v8, :cond_1

    .line 46
    invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v8

    if-eqz v8, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Ljava/lang/String;

    .line 47
    new-instance v14, Lcom/estrongs/fs/m;

    invoke-direct {v14, v8}, Lcom/estrongs/fs/m;-><init>(Ljava/lang/String;)V

    .line 48
    invoke-interface {v14, v10, v12}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    .line 49
    invoke-interface {v6, v14}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 50
    :cond_0
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "#"

    invoke-virtual {v7, v9, v8}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v0, v7}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v7

    invoke-virtual {v0, v13, v7}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_1

    .line 51
    :cond_1
    new-instance v7, Lcom/estrongs/fs/m;

    invoke-direct {v7, v1}, Lcom/estrongs/fs/m;-><init>(Ljava/lang/String;)V

    .line 52
    invoke-interface {v7, v10, v12}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    .line 53
    invoke-interface {v6, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    move-object v9, v1

    .line 54
    :goto_1
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object v1

    new-instance v7, Ljava/util/ArrayList;

    invoke-direct {v7}, Ljava/util/ArrayList;-><init>()V

    invoke-virtual {v1, v0, v7, v13}, Les/p10;->a(Ljava/lang/String;Ljava/util/List;Z)V

    .line 55
    :cond_2
    :goto_2
    invoke-interface {v6}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_18

    .line 56
    invoke-interface {v6, v13}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/fs/g;

    .line 57
    invoke-interface {v1, v10}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Ljava/lang/Boolean;

    invoke-virtual {v7}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v7

    if-eqz v7, :cond_6

    .line 58
    invoke-interface {v1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v8

    invoke-static {v8}, Lcom/estrongs/android/util/h0;->q2(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    if-eqz v8, :cond_5

    const/4 v7, 0x0

    .line 59
    :goto_3
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v12

    if-ge v7, v12, :cond_4

    .line 60
    invoke-interface {v3, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v12

    invoke-virtual {v8, v12}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v12

    if-eqz v12, :cond_3

    goto :goto_4

    :cond_3
    add-int/lit8 v7, v7, 0x1

    goto :goto_3

    .line 61
    :cond_4
    :goto_4
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v8

    if-ge v7, v8, :cond_2

    .line 62
    invoke-interface {v3, v7}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    goto :goto_5

    .line 63
    :cond_5
    invoke-interface {v1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v8

    invoke-static {v8}, Lcom/estrongs/android/util/h0;->B(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    if-eqz v8, :cond_6

    :goto_5
    const/4 v7, 0x0

    :cond_6
    const-string v8, "log://"

    .line 64
    invoke-virtual {v8, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v8

    const/4 v12, 0x0

    if-eqz v8, :cond_7

    .line 65
    new-instance v8, Lcom/estrongs/android/pop/app/log/p;

    invoke-direct {v8}, Lcom/estrongs/android/pop/app/log/p;-><init>()V

    sget-object v14, Lcom/estrongs/android/util/TypedMap;->EMPTY:Lcom/estrongs/android/util/TypedMap;

    invoke-virtual {v8, v12, v12, v14}, Lcom/estrongs/android/pop/app/log/p;->a(Lcom/estrongs/fs/g;Lcom/estrongs/fs/h;Lcom/estrongs/android/util/TypedMap;)Ljava/util/List;

    move-result-object v8

    goto :goto_6

    .line 66
    :cond_7
    invoke-static {}, Lcom/estrongs/fs/f;->d()Lcom/estrongs/fs/f;

    move-result-object v8

    invoke-interface {v1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v14

    invoke-static {v14}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v14

    invoke-virtual {v8, v1, v14, v13, v12}, Lcom/estrongs/fs/f;->a(Lcom/estrongs/fs/g;ZZLcom/estrongs/fs/h;)Ljava/util/List;

    move-result-object v8

    :goto_6
    if-nez v8, :cond_8

    goto :goto_2

    :cond_8
    if-eqz v8, :cond_9

    .line 67
    invoke-interface {v8}, Ljava/util/List;->size()I

    move-result v14

    if-lez v14, :cond_9

    .line 68
    new-instance v14, Lcom/estrongs/android/view/v;

    invoke-interface {v1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v1

    const v15, 0x7fffffff

    invoke-direct {v14, v1, v15}, Lcom/estrongs/android/view/v;-><init>(Ljava/lang/String;I)V

    goto :goto_7

    :cond_9
    move-object v14, v12

    .line 69
    :goto_7
    invoke-interface {v8}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_8
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v8

    if-eqz v8, :cond_15

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Lcom/estrongs/fs/g;

    if-eqz v5, :cond_a

    .line 70
    invoke-virtual {v5}, Les/s80;->z()Z

    move-result v15

    if-eqz v15, :cond_a

    return-void

    .line 71
    :cond_a
    invoke-interface {v8}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v15

    invoke-static {v15}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v15

    if-eqz v15, :cond_b

    new-instance v15, Ljava/io/File;

    invoke-interface {v8}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v11

    invoke-direct {v15, v11}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {v15}, Lcom/estrongs/android/util/h0;->a(Ljava/io/File;)Z

    move-result v11

    if-eqz v11, :cond_b

    goto :goto_9

    .line 72
    :cond_b
    invoke-static {}, Lcom/estrongs/android/util/h0;->p()Lcom/estrongs/fs/h;

    move-result-object v11

    invoke-interface {v11, v8}, Lcom/estrongs/fs/h;->a(Lcom/estrongs/fs/g;)Z

    move-result v11

    if-nez v11, :cond_c

    goto :goto_9

    :cond_c
    if-eqz v5, :cond_d

    const/4 v11, 0x2

    new-array v11, v11, [Ljava/lang/Object;

    const-wide/16 v15, 0x1

    .line 73
    invoke-static/range {v15 .. v16}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v15

    aput-object v15, v11, v13

    invoke-interface {v8}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v15

    const/4 v13, 0x1

    aput-object v15, v11, v13

    invoke-virtual {v5, v13, v11}, Les/s80;->b(I[Ljava/lang/Object;)V

    .line 74
    :cond_d
    invoke-virtual {v14, v8}, Lcom/estrongs/android/view/v;->a(Lcom/estrongs/fs/g;)Z

    move-result v11

    if-nez v11, :cond_e

    goto :goto_9

    :cond_e
    if-eqz p6, :cond_10

    .line 75
    invoke-interface {v8}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v11

    const-string v13, "."

    invoke-virtual {v11, v13}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v11

    if-eqz v11, :cond_10

    :cond_f
    :goto_9
    const/4 v11, 0x1

    const/4 v13, 0x0

    goto :goto_8

    .line 76
    :cond_10
    invoke-interface {v8}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v11

    invoke-virtual {v11}, Lcom/estrongs/fs/l;->b()Z

    move-result v11

    if-eqz v11, :cond_11

    if-eqz p5, :cond_11

    .line 77
    invoke-static {v7}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v11

    invoke-interface {v8, v10, v11}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    .line 78
    invoke-interface {v6, v8}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_11
    if-eqz v2, :cond_12

    .line 79
    invoke-interface {v2, v8}, Lcom/estrongs/fs/h;->a(Lcom/estrongs/fs/g;)Z

    move-result v11

    if-eqz v11, :cond_f

    :cond_12
    if-nez v12, :cond_13

    .line 80
    new-instance v12, Ljava/util/ArrayList;

    invoke-direct {v12}, Ljava/util/ArrayList;-><init>()V

    .line 81
    :cond_13
    new-instance v11, Les/i40;

    invoke-direct {v11, v0, v9, v8}, Les/i40;-><init>(Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/fs/g;)V

    if-eqz v4, :cond_14

    .line 82
    invoke-virtual {v4}, Les/eu$e;->a()I

    move-result v8

    iput v8, v11, Les/i40;->q:I

    .line 83
    :cond_14
    invoke-interface {v12, v11}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_9

    :cond_15
    if-nez v12, :cond_16

    const/4 v11, 0x1

    :goto_a
    const/4 v13, 0x0

    goto/16 :goto_2

    .line 84
    :cond_16
    new-instance v1, Les/j40$a;

    move-object/from16 v7, p0

    invoke-direct {v1, v7}, Les/j40$a;-><init>(Les/j40;)V

    invoke-static {v12, v1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    if-eqz v5, :cond_17

    .line 85
    invoke-virtual {v5}, Les/s80;->z()Z

    move-result v1

    if-eqz v1, :cond_17

    return-void

    .line 86
    :cond_17
    invoke-static {}, Les/s80;->A()Les/s80;

    move-result-object v1

    check-cast v1, Les/f70;

    move-object/from16 v8, p7

    invoke-interface {v8, v1, v12}, Les/f70$a;->a(Les/f70;Ljava/util/List;)V

    .line 87
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object v1

    const/4 v11, 0x1

    invoke-virtual {v1, v0, v12, v11}, Les/p10;->a(Ljava/lang/String;Ljava/util/List;Z)V

    goto :goto_a

    :cond_18
    move-object/from16 v7, p0

    return-void
.end method

.method private e(Ljava/lang/String;)Ljava/util/List;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/List<",
            "Les/eu$d;",
            ">;"
        }
    .end annotation

    const-string v0, "keyword"

    .line 1
    invoke-static {v0, p1}, Les/eu;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Landroid/net/Uri;->decode(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Les/eu;->c(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    const/4 v1, 0x0

    .line 3
    :goto_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v2

    if-ge v1, v2, :cond_0

    .line 4
    new-instance v2, Les/eu$d;

    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-direct {v2, v3}, Les/eu$d;-><init>(Ljava/lang/String;)V

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_0
    return-object v0
.end method


# virtual methods
.method public a(Ljava/lang/String;)Lcom/estrongs/fs/g;
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    const/4 p1, 0x0

    return-object p1
.end method

.method public a(Ljava/lang/String;Lcom/estrongs/android/util/TypedMap;)Ljava/io/OutputStream;
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    const/4 p1, 0x0

    return-object p1
.end method

.method public a(Ljava/lang/String;Z)Ljava/io/OutputStream;
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    const/4 p1, 0x0

    return-object p1
.end method

.method public a(Lcom/estrongs/fs/g;Lcom/estrongs/fs/h;Lcom/estrongs/android/util/TypedMap;)Ljava/util/List;
    .locals 11
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/fs/g;",
            "Lcom/estrongs/fs/h;",
            "Lcom/estrongs/android/util/TypedMap;",
            ")",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    .line 4
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v0

    .line 5
    invoke-static {v0}, Les/o10;->e(Ljava/lang/String;)Ljava/util/List;

    move-result-object v1

    .line 6
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    const/4 v2, 0x1

    const/4 v3, 0x0

    const/4 v4, 0x3

    if-ne v1, v4, :cond_4

    const-string v0, "pattern"

    .line 7
    invoke-virtual {p3, v0}, Lcom/estrongs/android/util/TypedMap;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "partialListener"

    .line 8
    invoke-virtual {p3, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/f70$a;

    const-string v4, "searchPath"

    .line 9
    invoke-static {v4, v0}, Les/eu;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 10
    :try_start_0
    invoke-static {v4}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_0

    .line 11
    new-instance v5, Ljava/io/File;

    invoke-direct {v5, v4}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5}, Ljava/io/File;->getCanonicalPath()Ljava/lang/String;

    move-result-object v5

    if-eqz v5, :cond_0

    .line 12
    invoke-virtual {v5}, Ljava/lang/String;->length()I

    move-result v6

    if-lez v6, :cond_0

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    if-nez v6, :cond_0

    move-object v4, v5

    goto :goto_0

    :catch_0
    nop

    .line 13
    :cond_0
    :goto_0
    invoke-static {v4}, Lcom/estrongs/android/util/h0;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    .line 14
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object p1

    .line 15
    invoke-direct {p0, v0}, Les/j40;->e(Ljava/lang/String;)Ljava/util/List;

    move-result-object v9

    .line 16
    invoke-static {p1, p3}, Lcom/estrongs/android/util/h0;->b(Ljava/lang/String;Lcom/estrongs/android/util/TypedMap;)Z

    move-result p3

    if-eqz p3, :cond_3

    .line 17
    sget p3, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v4, 0x11

    if-lt p3, v4, :cond_1

    const-string p3, "/storage/emulated/legacy"

    invoke-virtual {v6, p3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 18
    invoke-static {}, Lcom/estrongs/android/pop/c;->b()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v6, p3, v4}, Ljava/lang/String;->replaceFirst(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    :cond_1
    move-object p3, v6

    const/4 v10, 0x1

    move-object v4, p0

    move-object v5, p1

    move-object v6, p3

    move-object v7, v0

    move-object v8, v1

    .line 19
    invoke-direct/range {v4 .. v10}, Les/j40;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Les/f70$a;Ljava/util/List;Z)Ljava/util/List;

    .line 20
    invoke-static {p1, p3, p2, v0}, Lcom/estrongs/fs/impl/media/d;->a(Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/fs/h;Ljava/lang/String;)Ljava/util/List;

    move-result-object p2

    .line 21
    invoke-static {}, Les/s80;->A()Les/s80;

    move-result-object v0

    check-cast v0, Les/f70;

    invoke-interface {v1, v0, p2}, Les/f70$a;->a(Les/f70;Ljava/util/List;)V

    const-string v0, "externalstorage://"

    .line 22
    invoke-virtual {v0, p3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-eqz p3, :cond_2

    .line 23
    new-instance p3, Ljava/lang/StringBuilder;

    invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "#"

    const-string v4, "/"

    invoke-virtual {v0, v4, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {p1, v3, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 24
    :cond_2
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object p3

    invoke-virtual {p3, p1, p2, v2}, Les/p10;->a(Ljava/lang/String;Ljava/util/List;Z)V

    .line 25
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    return-object p1

    .line 26
    :cond_3
    invoke-static {v6}, Lcom/estrongs/android/util/h0;->A1(Ljava/lang/String;)Z

    move-result v10

    move-object v4, p0

    move-object v5, p1

    move-object v7, v0

    move-object v8, v1

    invoke-direct/range {v4 .. v10}, Les/j40;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Les/f70$a;Ljava/util/List;Z)Ljava/util/List;

    .line 27
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    return-object p1

    .line 28
    :cond_4
    new-instance p3, Ljava/util/ArrayList;

    invoke-direct {p3}, Ljava/util/ArrayList;-><init>()V

    .line 29
    invoke-static {}, Lcom/estrongs/fs/f;->d()Lcom/estrongs/fs/f;

    move-result-object v1

    invoke-static {}, Lcom/estrongs/fs/f;->d()Lcom/estrongs/fs/f;

    move-result-object v4

    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v4, p1}, Lcom/estrongs/fs/f;->g(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object p1

    invoke-virtual {v1, p1, v3, v2, p2}, Lcom/estrongs/fs/f;->a(Lcom/estrongs/fs/g;ZZLcom/estrongs/fs/h;)Ljava/util/List;

    move-result-object p1

    .line 30
    :goto_1
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p2

    if-ge v3, p2, :cond_5

    .line 31
    new-instance p2, Les/i40;

    const/4 v1, 0x0

    invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    invoke-direct {p2, v0, v1, v2}, Les/i40;-><init>(Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/fs/g;)V

    invoke-interface {p3, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v3, v3, 0x1

    goto :goto_1

    :cond_5
    return-object p3
.end method

.method public b(Ljava/lang/String;)Ljava/io/InputStream;
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    const/4 p1, 0x0

    return-object p1
.end method

.method public c(Ljava/lang/String;)Z
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    const/4 p1, 0x0

    return p1
.end method

.method public d(Ljava/lang/String;)Z
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    const/4 p1, 0x1

    return p1
.end method
